[Top] [Prev] [Next] [Bottom] [Contents]

SaVbsMsgBox

Prints a MsgBox statement for VB Script and a newline character to standard out.

Synopsis

#include "savbs.h"
int SaVbsMsgBox(char* msg);

Argument

msg
A string specifying the message to appear in a VB Script message box.

Return Values

Returns an integer with a value of 0 if successful and a value of 1 if msg is either NULL or an empty string.

Description

Prints a VBScript MsgBox and a newline to standard out. You must properly escape the " and \ characters when calling this function with a string literal (use \ to escape these).

Example

The code fragment:

SaVbsMsgBox("Not a valid security code");
will write:

MsgBox "Not a valid security code"
to the output stream.

See Also

SaVbsB, SaVbsCommE, SaVbsE, SaVbsEndIf, SaVbsFuncTrue, SaVbsFuncFalse, SaVbsPrint, SaVbsIsLower, SaVbsIsUpper, SaVbsNotDigit, SaVbsLenZero, SaVbsLenNe, SaVbsStdFor, SaVbsCommB, SaVbsExitF, SaVbsEndF, SaVbsNext, SaVbsElse, SaVbsDecl, SaVbsNTabs, SaVbsNLines



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.